// 元祖
var arr = [1, "123", true];
// 字符砖
var arr1 = ["sb"];
// 数组
var arr2 = [1, 2, 3];
// 布尔值
var arr3 = [true, false];
// 
var arr4 = [
    {
        name: "123",
        age: 18
    },
    {
        name: "123",
        age: 18
    },
];
// 
var string = "";
var fun = function (can, can2) {
    return can + can2;
};
// 枚举
var Color;
(function (Color) {
    Color[Color["Red"] = 0] = "Red";
    Color[Color["Gten"] = 1] = "Gten";
    Color[Color["Blue"] = 2] = "Blue";
})(Color || (Color = {}));
var c = Color.Gten;
console.log(c);
//数组去重 
var newArr = [1, 2, 3, 4, 5, 6, 1, 3, 4, 9];
var newArr1 = [];
newArr.forEach(function (item, index) {
    if (!newArr1.includes(item)) {
        newArr1.push(item);
    }
});
console.log(newArr1);
